/**
 * @Author 天下无敌
 * @Date 
 * @AIDE AIDE+ 
 */
package com.ecs.core.gsystem;
import com.artemis.BaseSystem;
import com.badlogic.gdx.scenes.scene2d.Stage;

public class StageSystem extends BaseSystem
{
	public static final String TAG = "StageSystem";
	private final Stage stage;

	public Stage getStage()
	{
		return stage;
	}

	@Override
	protected void processSystem()
	{
		stage.act();
		stage.draw();
	}
	public StageSystem(Stage stage)
	{
		super();
		this.stage = stage;
	}

	@Override
	protected void dispose()
	{
		super.dispose();
		stage.dispose();
	}
	
	
	
}
